﻿using Eqwww.Domain.Models.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Eqwww.Domain.Models.SystemManage
{
    public class ModuleButtonClaimModel : ICreateAudited, ILastUpdateAudited, IDeleteAudited
    {
        public string Id { get; set; }
        [Display(Name = "创建人")]
        public string CreateUserId { get; set; }
        public virtual UserModel CreateUser { get; set; }
        [Display(Name = "创建时间")]
        public DateTime? CreateTime { get; set; }
        [Display(Name = "最后更新人")]
        public string LastUpdateUserId { get; set; }
        public virtual UserModel LastUpdateUser { get; set; }
        [Display(Name = "最后更新时间")]
        public DateTime? LastUpdateTime { get; set; }
        [Display(Name = "删除标识")]
        public bool? DeleteMark { get; set; }
        [Display(Name = "删除人")]
        public string DeleteUserId { get; set; }
        public virtual UserModel DeleteUser { get; set; }
        [Display(Name = "删除时间")]
        public DateTime? DeleteTime { get; set; }

        [Display(Name = "编码")]
        public string Code { get; set; }

        [Display(Name = "名称")]
        public string Name { get; set; }

        [Display(Name = "所属按钮")]
        public string ButtonId { get; set; }
        public virtual ModuleButtonModel Button { get; set; }

        [Display(Name = "排序码")]
        public int? SortCode { get; set; }

        [Display(Name = "描述")]
        public string Description { get; set; }

        [Display(Name ="系统声明标识")]
        public bool? IsSystem { get; set; }
    }
}
